package com.car.service.impl.user;

import com.car.dao.user.UserDao;
import com.car.entity.User;
import com.car.service.custormer.UserLoginService;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 贾勇
 * @ClassName userLoginServiceImpl
 * @Description: 用户登录
 * @DateTime: 2021-12-02 14:13
 */
@Service
public class UserLoginServiceImpl implements UserLoginService {

    @Setter
    @Getter
    @Autowired
    private UserDao userDao;

    @Override
    public User userLogin(User user) {
        return userDao.userLogin(user);
    }
}
